<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>修改招标</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../elementUI/index.css">
    <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
    <div id="app" class="minWidth">
        <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">商品信息</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="商品图片">
                    <el-form-item prop="pic">
                        <el-image style="width: 100px; height: 100px"
                            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg">
                            <div slot="error" class="image-slot">
                                <i class="el-icon-picture-outline"></i>
                            </div>
                        </el-image>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="商品名称">
                    <el-form-item prop="Article_Name">
                        <el-select clearable v-model="value" placeholder="请选择">
                            <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="单位">
                    <el-form-item prop="Article_Name">
                        <div style="display: flex;">
                            <el-input style="width: 250px;" v-model.trim="form.Unit_Price" placeholder="请输入商品数量"></el-input>
                            <el-select clearable v-model="value" placeholder="请选择">
                                <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                                </el-option>
                            </el-select>
                        </div>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="商品价格">
                    <el-form-item prop="Unit_Price">
                        <span>测试</span>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="全部商品数量">
                    <el-form-item prop="Unit_Price">
                        <el-input v-model.trim="form.Unit_Price" placeholder="请输入全部商品数量"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="最低购买商品数量">
                    <el-form-item prop="Unit_Price">
                        <el-input v-model.trim="form.Unit_Price" placeholder="请输入最低购买商品数量"></el-input>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <div class="table_titel">
                <div class="titel">标品信息</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="联系人">
                    <el-form-item prop="Article_Name">
                        <el-input v-model.trim="form.Article_Name" placeholder="请输入联系人"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="联系人地址">
                    <el-form-item prop="Article_Name">
                        <div style="display: flex;">
                            <div>
                                <el-select clearable v-model="selectProvince" filterable size="small"
                                    @change="selectProvinceFun($event)" placeholder="请选择省份">
                                    <el-option value="" label="请选择省份"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in city"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                            <div>
                                <el-select clearable v-model="selectCity" filterable size="small"
                                    @change="selectCityFun($event)" placeholder="请选择城市">
                                    <el-option value="" label="请选择城市"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in cityList"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                            <div>
                                <el-select clearable v-model="selectArea" filterable size="small"
                                    @change="selectAreaFun($event)" placeholder="请选择区县">
                                    <el-option value="" label="请选择区县"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in areaList"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                        </div>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="技术规格">
                    <el-form-item prop="Article_Name">
                        <el-input v-model.trim="form.Article_Name" placeholder="请输入技术规格"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="资金来源">
                    <el-form-item prop="Article_Name">
                        <el-select clearable v-model="value" placeholder="请选择">
                            <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="交货地点">
                    <el-form-item prop="Series_SerialNumber">
                        <div style="display: flex;">
                            <div>
                                <el-select clearable v-model="selectProvince" filterable size="small"
                                    @change="selectProvinceFun($event)" placeholder="请选择省份">
                                    <el-option value="" label="请选择省份"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in city"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                            <div>
                                <el-select clearable v-model="selectCity" filterable size="small"
                                    @change="selectCityFun($event)" placeholder="请选择城市">
                                    <el-option value="" label="请选择城市"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in cityList"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                            <div>
                                <el-select clearable v-model="selectArea" filterable size="small"
                                    @change="selectAreaFun($event)" placeholder="请选择区县">
                                    <el-option value="" label="请选择区县"></el-option>
                                    <el-option :value="item" :label="item.label" v-for="(item, index) in areaList"
                                        :key="index"></el-option>
                                </el-select>
                            </div>
                        </div>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="交易时间">
                    <el-form-item prop="Item_SerialNumber">
                        <el-date-picker v-model="value1" type="daterange" range-separator="至" start-placeholder="开始日期"
                            end-placeholder="结束日期">
                        </el-date-picker>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="资格文件">
                    <el-form-item prop="pic">
                        <div class="preview" v-show="form.pic">
                            <el-image class="el-upload-list__item-thumbnail" style="width: 148px; height: 148px"
                                :src="form.pic" fit="contain"></el-image>
                            <span class="el-upload-list__item-actions">
                                <span @click="handlePictureCardPreview(form.pic)"><i class="el-icon-zoom-in"></i></span>
                                <span @click="handleRemove('front')"><i class="el-icon-delete"></i></span>
                            </span>
                        </div>
                        <el-upload v-show="!form.pic" class="upload-demo" :show-file-list="false"
                            list-type="picture-card" action="" accept="image/*" :before-upload="uploadFront">
                            <i slot="default" class="el-icon-plus"></i>
                            <div class="el-upload__tip" slot="tip">上传资格文件</div>
                        </el-upload>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <div class="table_titel">
                <div class="titel">交收方式</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="交易时间">
                    <el-form-item prop="Article_Name">
                        <el-input v-model.trim="form.Article_Name" placeholder="请输入商品名称"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="打款方式">
                    <el-form-item prop="Article_Name">
                        <el-select clearable v-model="value" placeholder="请选择">
                            <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="装运方式">
                    <el-form-item prop="pic">
                        <el-select clearable v-model="value" placeholder="请选择">
                            <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="付款方式(支持)">
                    <el-form-item prop="pic">
                        <el-select clearable v-model="value" placeholder="请选择">
                            <el-option v-for="(item,i) in 2" :key="i" label="测试" value="测试">
                            </el-option>
                        </el-select>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="success" @click="onExcel">导入</el-button>
                <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../js/vue.min.js"></script>
    <script type="text/javascript" src="../../../elementUI/index.js"></script>
    <script type="text/javascript" src="../../../js/utils.js"></script>
    <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
    <script type="text/javascript" src="../../../js/compressor.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.min.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.js"></script>
    <script type="text/javascript" src="../../../js/xlsx.full.min.js"></script>
    <script type="text/javascript" src="./js/Add.js"></script>
</body>

</html>